package Demo2;

/**
 * Created with  IntelliJ IDEA .
 * Description:
 * User: lenovo
 * Date: 2025-${ MONTH }-20
 * Time: 15:14
 */
public class Test {

    public static void main(String[] args) {
        Computer computer =new Computer();
        computer.OpenDevice();
        computer.UseUsbDevice(new Mouse());
        computer.UseUsbDevice(new KeyBoard());
        computer.CloseDevice();
    }
}
